<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/10/12
  Time: 9:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<style type="text/css">

    body{
        background-color: bisque;
    }
    #btnsubmit,#btncancel{
        width: 90px;
        height: 30px;
        border-radius: 10px;
    }
    input{
        font-size: 20px;
    }
    form{
        position: absolute;
        left: 35%;
        top: 40%;
    }
</style>
<body>

<form  action="loginCheck" method="get">
    用户名：<input type="text" name="userName"><br><br>
    密&nbsp;&nbsp;&nbsp;&nbsp;码：<input type="password" name="password"><br><br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" id="btnsubmit" value="登录">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" id="btncancel"value="取消">
</form>
<c:if test="${param.message=='LOGIN_TIME_OUT'}">
    <div style="position:relative;left:40%;top:60%;color: red;size: 18px">登录超时，请重新登录</div>
</c:if>
<c:if test="${param.message=='LOGIN_ERROR'}">
    <div style="position:relative;left:40%;top:60%;color: red;size: 18px">您输入的用户名或者密码不对，请重新输入</div>
</c:if>
<div style="position:relative;left:40%;top:60%;color: #DBDBDB">${param.message}</div>
</body>
</html>
